{% extends "base.html" %}
		{% block title %}
		Редактирование пользователя - {{form.visible_fields.0.value}}
		{% endblock %} 
{% block breadcrumb %}

<ul id="breadcrumb" class="breadcrumb">
	<li>
		<a title="Home" href="/admin/"> <img class="home" alt="Home" src="/media/turbodiesel/images/home.png"> </a>
	</li>
	{% if application %}
	<li>
		<a title="" href="/admin/application/{{application.alias}}/edit">Приложение - "{{application|truncatewords:2}}"</a>
	</li>
	{% endif %}
	<li>
		Редактирование пользователя - {{form.visible_fields.0.value}}
	</li>
</ul>

{% endblock %}

{% block tab %}
			<ul class="menu-sidebar nav nav-tabs" style="border:none">
				<li class="active">
					<a href="#tab_a" data-toggle="tab"> <img src="/media/turbodiesel/images/admin/desktop.png"> Свойства </a>
				</li>

			</ul>
			<div class="tab-content">
				<div id="tab_a" class="tab-pane active">

					<div class="content">
						<!-- Основной контейнер -->
						<div class="container-fluid" style="margin-left:70px">

							<!-- Центральный блок -->
							<div class="row-fluid">
								<div class="span12">
<div class="span6 offset3" >
	<div class="well">
		<legend>
			Свойства сущности
		</legend>
		<form action="." method="post" enctype="multipart/form-data"  id="page" name="page">
			{# Include the hidden fields #}
			{% for hidden in form.hidden_fields %}
			{{ hidden }}
			{% endfor %}
			{# Include the visible fields #}
			{% csrf_token %}
			{% for field in form.visible_fields %}
			<div class="row-fluid">
				<label class="span4">{{ field.label }}:</label>
				{% if field.errors %}
				<div class="span4">
					{{ field }}
				</div>
				<div class="span4">
					<span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg"> <span class="k-icon k-warning"> </span> {{ field.errors.0 }} </span>
				</div>
				{% else %}
				<div class="span8">
					{{ field }}
				</div>
				{% endif %}
			</div>
			{% endfor %}
			<br class="clear">
		</form>
	</div>
</div>

								</div>
							</div>
							<!-- Окончание центрального блока -->
						</div>

					</div>
				</div>

			</div>








{% endblock %}
{% block left_footer %}
<input value="Сохранить" type="submit" class="btn btn-primary pull-right" id="submit" form="page">
{% endblock %}